package JPLXtandemGA;

import junit.framework.TestCase;

public class IntegerParameterTestCase extends TestCase  {

	private IntegerParameter ip;
	
	public void testOneInt(){
		ip = new IntegerParameter("a", 1, 1, 30);
		System.out.println(ip.randomize().xmlRepresentation());
	}
	
	public void testTenInt(){
		int i = 0;		
		while(i++ < 10){
			ip = new IntegerParameter("a", 1, 1, 30);
			System.out.println(ip.randomize().xmlRepresentation());
		}		
	}
 

	public void testTenMutate(){
		int i = 0;		
		while(i++ < 10){
			ip = new IntegerParameter("a", 1, 1, 30);
			System.out.println(ip.mutate().xmlRepresentation());
		}		
	}
}